package com.efast.dmom.mes.entity;

import java.time.LocalDateTime;

import com.efast.dmom.mes.entity.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;

/**
 * 备件入库
 * @author Administrator
 *
 */
public class EquipSpareInboundEntity extends BaseEntity{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -5188683376655309743L;

	private String inboundNumber;

	@JsonDeserialize(using = LocalDateDeserializer.class)
	@JsonSerialize(using = LocalDateSerializer.class)
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime inboundTime;
	
	private long warehouseId;
	
	private String inboundStyle;
	
	private String supplier;
	
	private int inboundQuantity;
	
	private String inboundStatus;
	private long spareId;
	private String inboundUser;
	
	private String spareCategory;
	
	private String cutterType;
	private String cutterCode;
	
	private String spareCode;
	private String spareName;
	private String spareSpecifications;
	private String unit;
	private String warehouseName;
	
	private double unitPrice;
	private int usedStatus;
	private int storageQuality;
	
	public String getSpareCode() {
		return spareCode;
	}
	public void setSpareCode(String spareCode) {
		this.spareCode = spareCode;
	}
	public String getSpareName() {
		return spareName;
	}
	public void setSpareName(String spareName) {
		this.spareName = spareName;
	}
	public String getSpareSpecifications() {
		return spareSpecifications;
	}
	public void setSpareSpecifications(String spareSpecifications) {
		this.spareSpecifications = spareSpecifications;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getWarehouseName() {
		return warehouseName;
	}
	public void setWarehouseName(String warehouseName) {
		this.warehouseName = warehouseName;
	}
	public String getInboundNumber() {
		return inboundNumber;
	}
	public void setInboundNumber(String inboundNumber) {
		this.inboundNumber = inboundNumber;
	}
	public LocalDateTime getInboundTime() {
		return inboundTime;
	}
	public void setInboundTime(LocalDateTime inboundTime) {
		this.inboundTime = inboundTime;
	}
	public long getWarehouseId() {
		return warehouseId;
	}
	public void setWarehouseId(long warehouseId) {
		this.warehouseId = warehouseId;
	}
	public String getInboundStyle() {
		return inboundStyle;
	}
	public void setInboundStyle(String inboundStyle) {
		this.inboundStyle = inboundStyle;
	}
	public String getSupplier() {
		return supplier;
	}
	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}
	public int getInboundQuantity() {
		return inboundQuantity;
	}
	public void setInboundQuantity(int inboundQuantity) {
		this.inboundQuantity = inboundQuantity;
	}
	public String getInboundStatus() {
		return inboundStatus;
	}
	public void setInboundStatus(String inboundStatus) {
		this.inboundStatus = inboundStatus;
	}
	public long getSpareId() {
		return spareId;
	}
	public void setSpareId(long spareId) {
		this.spareId = spareId;
	}
	public String getInboundUser() {
		return inboundUser;
	}
	public void setInboundUser(String inboundUser) {
		this.inboundUser = inboundUser;
	}
	public String getSpareCategory() {
		return spareCategory;
	}
	public void setSpareCategory(String spareCategory) {
		this.spareCategory = spareCategory;
	}
	public String getCutterCode() {
		return cutterCode;
	}
	public void setCutterCode(String cutterCode) {
		this.cutterCode = cutterCode;
	}
	public double getUnitPrice() {
		return unitPrice;
	}
	public void setUnitPrice(double unitPrice) {
		this.unitPrice = unitPrice;
	}
	public String getCutterType() {
		return cutterType;
	}
	public void setCutterType(String cutterType) {
		this.cutterType = cutterType;
	}
	public int getUsedStatus() {
		return usedStatus;
	}
	public void setUsedStatus(int usedStatus) {
		this.usedStatus = usedStatus;
	}
	public int getStorageQuality() {
		return storageQuality;
	}
	public void setStorageQuality(int storageQuality) {
		this.storageQuality = storageQuality;
	}
	
}
